package com.colorlight.cloud.gateway.api.constants;


import com.colorlight.cloud.gateway.api.message.interceptor.trans.TransFromProtoInterceptor;
import com.colorlight.cloud.gateway.api.message.interceptor.trans.TransToProtoInterceptor;
import com.colorlight.cloud.gateway.api.message.interceptor.trans.impl.*;


/**
 * @author Demon
 */
public class GatewayConstants {
	/**
	 * 保证每次的root不同、每次获取当前时间
	 */
	public static final Integer DEFAULT_VALUE_INT = 0;
	
	
	public static final TransFromProtoInterceptor BASE_TRANS_FROM_PROTO_INTERCEPTOR =
			new BaseTransFromProtoInterceptor();
	public static final TransFromProtoInterceptor ENUM_TRANS_FROM_PROTO_INTERCEPTOR =
			new EnumTransFromProtoInterceptor();
	public static final TransFromProtoInterceptor OBJECT_TRANS_FROM_PROTO_INTERCEPTOR =
			new ObjectTransFromProtoInterceptor();
	public static final TransFromProtoInterceptor COLLECTION_TRANS_FROM_PROTO_INTERCEPTOR =
			new CollectionTransFromProtoInterceptor();
	
	public static final TransToProtoInterceptor BASE_TRANS_TO_PROTO_INTERCEPTOR =
			new BaseTypeTransToProtoInterceptor();
	
	public static final TransToProtoInterceptor COLLECTION_TRANS_TO_PROTO_INTERCEPTOR =
			new CollectionTransToProtoInterceptor();
	
	public static final TransToProtoInterceptor ENUM_TRANS_TO_PROTO_INTERCEPTOR =
			new EnumTransToProtoInterceptor();
	
	public static final TransToProtoInterceptor OBJECT_TRANS_TO_PROTO_INTERCEPTOR =
			new ObjectTransToProtoInterceptor();
}
